/* Document Analysis Report Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  background-color: #f8fafc;
  color: #1e293b;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px;
  text-align: center;
}
.header h1 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 600;
}
.header p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}
.content {
  padding: 24px;
}
.section {
  margin-bottom: 32px;
}
.section:last-child {
  margin-bottom: 0;
}
.section h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #1e293b;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.metric {
  background: #f1f5f9;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #3b82f6;
}
.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  display: block;
}
.metric-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.sentiment {
  font-weight: 600;
}
.summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  line-height: 1.7;
}
.keywords-container {
  background: #fef3c7;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #fbbf24;
}
.keywords {
  font-weight: 500;
  color: #92400e;
}
.metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  background: #f1f5f9;
  padding: 16px;
  border-radius: 8px;
}
.metadata-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}
.metadata-label {
  font-weight: 500;
  color: #64748b;
}
.metadata-value {
  font-weight: 600;
  color: #1e293b;
}
.footer {
  background: #f1f5f9;
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}
.badge {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.processing-time {
  color: #059669;
  font-weight: 600;
}
